//模块名称：全局配置
//创建时间：2017-12-29 11:03:11
//说明：全局配置
@import 'color.config';
//声明用微信样式还是普通网页的初始化,uni-app也用wechat
$init-config: web;
// [node|dart] 使用node-sass还是dart sass
$build-app: node;
// 小程序以iphone6为基准，1px=2rpx，普通web根据实际情况设置
$unit: 1px !default;

// 全局字体大小
$body-font: 14 * $unit;
$body-font-color: $base;
$body-bg: #f8f8f8;
// 字体大小初始值
$font-size-default: 10;
$font-size-begin: 0;
$font-size-end: 40;
//  border
$border-type: solid;
$border-color: #ddd;
$border-radius: 5 * $unit;
// padding
$padding-begin: 0;
$padding-end: 50;
$padding-interval: 1;
// margin
$margin-begin: $padding-begin;
$margin-end: $padding-end;
$margin-interval: $padding-interval;
// flex数值
$flex-begin: 1;
$flex-end: 10;
// main配置
$main-min-height: 100vh;
$main-fixed-height: 100vh;
$main-body-flex: 1;
// 按钮
$btn-padding-top: 10 * $unit;
$btn-padding-bottom: $btn-padding-top;
$btn-padding-right: 10 * $unit;
$btn-padding-left: $btn-padding-right;
$btn-sm-padding-top: 8 * $unit;
$btn-sm-padding-bottom: 8 * $unit;
$btn-sm-padding-left: 8 * $unit;
$btn-sm-padding-right: 8 * $unit;
$btn-xs-padding-top: 5 * $unit;
$btn-xs-padding-bottom: $btn-xs-padding-top;
$btn-xs-padding-right: 10 * $unit;
$btn-xs-padding-left: $btn-xs-padding-right;
$btn-border-radius: $border-radius !default;
$btn-font-size: 14 * $unit;
$btn-height: 40 * $unit;
$btn-color: $base;
$btn-color-active: darken(
	$color: $grey,
	$amount: 20%
);
// 链接
$btn-link-border-radius: 0;
$btn-link-padding-top: 0;
$btn-link-padding-bottom: $btn-link-padding-top;
$btn-link-padding-right: $btn-link-padding-top;
$btn-link-padding-left: $btn-link-padding-top;
$btn-link-bg-color: transparent;
$btn-link-color: $blue;
$btn-link-color-active: darken($blue, 20%);
$btn-link-bg-color: transparent !important;
$fix-height: units(44); //固定高度

// 头像
$image-size-xs: 24 * $unit;
$image-size-sm: 32 * $unit;
$image-size-default: 48 * $unit;
$image-size-md: 72 * $unit;
$image-size-lg: 96 * $unit;
$image-placeholder-bg: $grey;

// 渐变角度
$gradient-deg: 135deg;
